const router = require('koa-router')(),
      essayController = require('../controller/essay'),
      loginCheck = require('../middlewares/logincheck'); 
router.prefix('/essay')      
router.get('/get_essay',essayController.getEssay);     
router.post('/create_Essay',,essayController.createEssay); 
router.post('/upload_image',essayController.uploadImage); 
// router.get('/destroy_Essay',essayController.destroyEssay);   
// router.get('/update_Essay',essayController.updateEssay);   
// router.get('/change_status_Essay',essayController.changeStatusEssay);   
module.exports = router; 